import { useI18n } from '@/hooks/web/useI18n'
const { t } = useI18n()

export const paramsSettingRouter = {
  name: 'paramsSetting',
  component: () => import('@/components/MenuPage/MenuPage.vue'),
  path: 'paramsSetting',
  meta: {
    title: t('router.purchase.paramsSetting'),
    alwaysShow: true
  },
  children: [
    {
      path: '/PurchaseManageSystemParams',
      component: () => import('@/views/SupplyChain/Purchase/ParameterSettings/PurchaseManageSystemParams.vue'),
      name: 'PurchaseManageSystemParams',
      meta: {
        title: t('router.purchase.purchaseManageSystemParams')
      }
    },
  ]
}
